package com.yk.govpro.service.noticeDetail.api;

import com.yk.govpro.model.NoticedetailEntity;
import org.json.JSONObject;

import java.util.List;

/**
 * Created by zsyoung on 2017/5/22.
 */
public interface INoticeDetailCrawlerService {
    List<JSONObject> getNoticeDetail(List<String> idList);

    List<JSONObject> getNoticeDetail(String id);

    List<NoticedetailEntity> transform(JSONObject jsonObject);

    List<NoticedetailEntity> transform(List<JSONObject> jsonObjects );

    void saveNoticeDetail(NoticedetailEntity noticelistEntity);

    void saveNoticeDetail(List noticelistEntites);
}
